package com.gemptc.daythree;
import java.util.Random;
public class RandomSum
{
    public static void main(String args[])
	{
	  Random r=new Random();
	  int random1=r.nextInt(1000);
	  int random2=r.nextInt(1000);
	  int sum;
	  if((random1<10)&&(random2<10)){
	    sum=random1*50+random2*50;
	  }else{
	     sum=random1+random2;
	  }
	  System.out.println(random1+","+random2+","+"random1+random2="+sum);
	  
	}
}